Welcome to the home page for Behave
This page allows you to add information about your project.
Things you can do as a public user
-
Create a new ticket: Tickets are the life blood of a project. They can be anything from bug reports to todo items which can be assigned to folks involved in the project.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Behave is a testing framework dedicated to test Reia language and libraries
== Usage
Behave.context('A User instance') do
setup do
user = User.find(~first)
should('return its full name') do
assert('John Doe' == user.full_name)
assert('John' == user.name)
assert('Doe' == user.surname)
should('return its email address') do
'JohnDoe@gmail.com' == user.email
context('with a profile') do
user.profile = Profile.find(~first)
should('return true calling .has_profile?') do
user.has_profile()